package com.cjj.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("teacher_info")
@Accessors(chain = true)
public class TeacherInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "teacher_number", type = IdType.INPUT)
    private String teacherNumber;

    @TableField("name")
    private String name;

    @TableField("gender")
    private String gender;

    @TableField("title")
    private String title;

    @TableField("department")
    private String department;

    @TableField("office")
    private String office;

    @TableField("email")
    private String email;

    @TableField("phone")
    private String phone;

    @TableField("research_direction")
    private String researchDirection;

    @TableField("personal_profile")
    private String personalProfile;

    @TableField("education_background")
    private String educationBackground;

    @TableField("avatar_url")
    private String avatarUrl;

    @TableField("is_available")
    private int isAvailable;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;
}